package cn.tuning.entity;

/**
 * @author laisd
 * @date 2021-08-02 22:24
 */

public class RiderInfo {
    private String id;
    private String idNumber;
    private int income;
    private int currentOrdersFinished;
    private int currentOrdersReceived;

    public RiderInfo() {
    }

    public RiderInfo(String id, String idNumber, int income, int currentOrdersFinished, int currentOrdersReceived) {
        this.id = id;
        this.idNumber = idNumber;
        this.income = income;
        this.currentOrdersFinished = currentOrdersFinished;
        this.currentOrdersReceived = currentOrdersReceived;
    }

    public RiderInfo(String id, String idNumber) {
        this.id = id;
        this.idNumber = idNumber;
    }



    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public int getIncome() {
        return income;
    }

    public void setIncome(int income) {
        this.income = income;
    }

    public int getCurrentOrdersFinished() {
        return currentOrdersFinished;
    }

    public void setCurrentOrdersFinished(int currentOrdersFinished) {
        this.currentOrdersFinished = currentOrdersFinished;
    }

    public int getCurrentOrdersReceived() {
        return currentOrdersReceived;
    }

    public void setCurrentOrdersReceived(int currentOrdersReceived) {
        this.currentOrdersReceived = currentOrdersReceived;
    }

    @Override
    public String toString() {
        return "RiderInfo{" +
                "id='" + id + '\'' +
                ", idNumber='" + idNumber + '\'' +
                ", income=" + income +
                ", currentOrdersFinished=" + currentOrdersFinished +
                ", currentOrdersReceived=" + currentOrdersReceived +
                '}';
    }
}
